package com.cblz.bd.server.frontend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cblz.bd.common.core.exception.ValidateCodeException;
import com.cblz.bd.server.frontend.entity.BaUser;
import com.cblz.bd.server.frontend.entity.vo.BaUserLoginRegisterVO;

import java.util.Map;

/**
 * @author yanjieping
 * @description 针对表【ba_user(会员表)】的数据库操作Service
 * @createDate 2022-11-04 15:09:54
 */
public interface BaUserService extends IService<BaUser> {

    /**
     * 外部用户登录
     *
     * @param registerVO 登录信息
     * @return Token信息
     */
    Map<String, Object> login(BaUserLoginRegisterVO registerVO) throws ValidateCodeException;

}
